package utils

import "math/rand"

// GetRand returns a random number that conform to min<=[?]<=max.
// Must call rand.Seed(time.Now().UnixNano()) before using it.
func GetRand(min, max int) int {
	return rand.Intn(max-min+1) + min
}
